#ifndef __HT_GLOBAL_H__
#define __HT_GLOBAL_H__

#include <pthread.h>
#include <unordered_map>
#include <stdio.h>
#include <string.h>
#include <sys/syscall.h>
#include <unistd.h>
#include "zkprofile.h"

using namespace std;

#define MY_MAX_NAME_LEN  64
#define MY_MAX_PATH_LEN 300

#ifndef __GLOBAL_C__
    extern char                         g_szZookeeper[MY_MAX_NAME_LEN];
    extern char                         g_szInstPath[MY_MAX_PATH_LEN];
    extern char                         g_szConfPath[MY_MAX_PATH_LEN];
    extern char                         g_szExecName[MY_MAX_NAME_LEN];
    extern HtProfile                    g_htProfile;
    extern unordered_map<string,string>* p_rdisMap;
	extern struct event_base *           s_eventBase;
	extern int GetExeAbsPath(char* pExeAbsPath, size_t zLen);
#endif

#endif

